package com.spit.tph.nike_mvp.impl

import android.support.v4.app.FragmentActivity
import android.support.v7.widget.AppCompatButton
import android.widget.LinearLayout
import com.csl.ams.nike_mvp.IBaseView
import com.csl.ams.nike_mvp.IPresenter
import com.yyc.stocktake.bean.DataBean

/**
 * User: Nike
 *  2024/2/23 17:27
 */
interface ConsumablesContract {

    interface View : IBaseView {

        fun setListCallback(list: java.util.ArrayList<DataBean>)
        fun setMedicalTeamListCallback(list: java.util.ArrayList<DataBean>)
        fun setWarehouseListCallback(list: java.util.ArrayList<DataBean>)
        fun setMaterialListCallback(list: java.util.ArrayList<DataBean>)
        fun setNoData()
        fun setTherapistsListCallback(dataBeans: java.util.ArrayList<DataBean>)

    }

    interface Presenter: IPresenter<View> {

        fun onListRequest()
        fun onMedicalTeamList()
        fun toZking(activity: FragmentActivity?)
        fun onUploaded(
            bean: DataBean?,
            patientId: String?,
            listBean: ArrayList<DataBean>,
            mCStatus: Int,
            requireActivity: FragmentActivity,
            restockBean: DataBean?
        )
        fun toUploadedUi(mLayout: LinearLayout?, mBtConfirm: AppCompatButton?)
        fun onAsk(mCStatus: Int)
        fun onWarehouseList()
        fun onMaterialList()
        fun onUploaded2(activity: FragmentActivity, json: String, listBean: ArrayList<DataBean>)
        fun onTherapist()

    }
}